package com.scisoft.scan.data.stock;

import java.io.Serializable;

public class StockInfoPictureBean implements Serializable {
    //配件ID
    public String partId;
    //配件图号
    public String partNo;
    //配件编码
    public String partCode;

    //图片
    public byte[] picture;
    //图片标签
    public String lableId;

    //获取图片标签的字符串
    public String getLableString() {
        String lableString = "主图";
        switch (lableId) {
            case "1":
                lableString = "主图";
                break;
            case "2":
                lableString = "品牌标记";
                break;
            case "3":
                lableString = "标签位置";
                break;
            case "4":
                lableString = "安装位置";
                break;
            case "5":
                lableString = "包装图";
                break;
            case "6":
                lableString = "方位视图";
                break;
        }
        return lableString;
    }
}
